/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package concesionaria;

import javax.swing.JInternalFrame;
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
import java.sql.*;
import java.text.SimpleDateFormat;
import java.util.*;

    
/**
 *
 * @author Guillermo
 */
public class BotonCancelar extends JButton implements Command {
    

public BotonCancelar(String caption) {
    super(caption);
} 

    @Override
 public void execute(VentanaRegCliente p) {
  VentanaRegCliente.openFrameCount--;
  p.setVisible(false);
 }
}
